import service from "../utils/request";
//  列表
export function getImageList(params:any) {
  return service.get(`/vm-template`, {params});
}
// 改
export function editImage(id:number,data:any) {
  return service.put(`/vm-template/${id}`,data);
}
// 删
export function deleteImage(ids:any) {
  return service.delete(`/vm-template/${ids}`);
}
// 查
export function getImageDetail(id:string) {
  return service.get(`/vm-template/${id}`);
}
